<template>
  <div class="homeWrap">
    <el-container style="height: 100%">
      <el-header><Header /></el-header>
      <el-container>
        <el-aside width="200px"><Aside /></el-aside>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
      <el-footer><Footer /></el-footer>
    </el-container>
  </div>
</template>

<script>
import Header from "../components/Header";
import Aside from "../components/Aside";
// import Main from "./Main";
import Footer from "../components/Footer";

export default {
  // eslint-disable-next-line vue/multi-word-component-names
  name: "curriculumManagement",
  // eslint-disable-next-line vue/no-unused-components
  components: { Header, Aside, Footer },
  props: {
    msg: String,
  },
};
</script>
<style>
.el-header,
.el-footer {
  background-color: #f1faee;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #457b9d;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
}

body > .el-container {
  margin-bottom: 40px;
}

.homeWrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
</style>
